import request from '@/utils/request'

// 查询消防数据列表
export function listFireUploadDataOboject(query) {
  return request({
    url: '/security/fireUploadDataOboject/list',
    method: 'get',
    params: query
  })
}

// 查询消防数据详细
export function getFireUploadDataOboject(id) {
  return request({
    url: '/security/fireUploadDataOboject/' + id,
    method: 'get'
  })
}

// 新增消防数据
export function addFireUploadDataOboject(data) {
  return request({
    url: '/security/fireUploadDataOboject',
    method: 'post',
    data: data
  })
}

// 修改消防数据
export function updateFireUploadDataOboject(data) {
  return request({
    url: '/security/fireUploadDataOboject',
    method: 'put',
    data: data
  })
}

// 删除消防数据
export function delFireUploadDataOboject(id) {
  return request({
    url: '/security/fireUploadDataOboject/' + id,
    method: 'delete'
  })
}
